package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface CustomerDao  {


    List<Customer> getCustomerList(@Param("offSet") int offSet, @Param("pageRow") Integer rows, @Param("customerName") String customerName);

    Integer getCustomerCount(@Param("customerName") String customerName);

    void delete(@Param("id") String id);

    void insert(Customer customer);

    void updateById(Customer customer);
}
